﻿
package com.wit.service;

import java.util.Date;
import java.util.List;

import com.wit.po.Policy;
import com.wit.po.Wage;

public interface WageService {
	
	public boolean addWage(Wage wage);
	public boolean removeWage(Wage wage);
	public boolean updateWage(Wage wage);
	
	public Wage getWageById(int wageId);
	public List<Wage> getWageList(Wage wage, Integer pageNumber, Integer pageSize);
	public int getTotalAmount(Wage wage);

	public int generateWage(Date inMonth);

	public int updateBatchOfWage(Integer []wageIdArray);
	public int updateBatchOfWage(List<Wage> wageList);
	
	public Object[] getPolicyFee(String employeeId, int year, int month);
	public Object[] getPolicyFee(String employeeId, int year, int startMonth, int endMonth);
	public Object[] getPolicyFee(String employeeId, int year);

	public List<Policy> getPolicyList(String employeeId, Integer year, Integer pageNumber, Integer pageSize);
	public List<Policy> getPolicyList(String employeeId, Integer year, Integer startMonth, Integer endMonth, 
			Integer pageNumber, Integer pageSize);
	public List<Policy> getPolicyList(String employeeId, Integer year, Integer month, Integer pageNumber, Integer pageSize);
}